SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69601: The SAS® Model Implementation Platform %MIP_REST_SUBMIT_RUN macro returns "ERROR: The run ... cannot be created. Reason: The name could not be found"

DetailsAboutRate It

The SAS Model Implementation Platform %MIP_REST_SUBMIT_RUN API macro call returns the following error when multiple versions of the modeling system exist with the same name:

ERROR: The run "runName" cannot be created. Reason: The name could not be found.
ERROR: The run "runName" could not be submitted.

For example, you encounter this issue when you complete steps similar to the following:

  1. Create a Modeling System named "Retail_Hazard" with version 1.0.0.2.
  2. Copy the Retail_Hazard Modeling System and change the version to 1.0.0.3.
  3. Submit the %MIP_REST_SUBMIT_RUN API macro.

Here is an example log:

119        %mip_rest_submit_run(
 MLOGIC(MIP_REST_SUBMIT_RUN):  Beginning execution.
 MLOGIC(MIP_REST_SUBMIT_RUN):  This macro was compiled from the autocall file
       <SASHome>\SASFoundation\9.4\modimpsvr\ucmacros\mip_rest_submit_run.sas
 120        
 121          request_json_file="<JSON PARAMETERS FILE>.json",
 122        
 123          output_ds=work.run_info
 124        
 125        );
 MLOGIC(MIP_REST_SUBMIT_RUN):  Parameter REQUEST_JSON_FILE has value "<JSON PARAMETERS FILE>.json"
 MLOGIC(MIP_REST_SUBMIT_RUN):  Parameter OUTPUT_DS has value work.run_info
 MLOGIC(MIP_REST_SUBMIT_RUN):  %GLOBAL  MI_RUN_NAME MI_RUN_INSTANCE
 MLOGIC(MIP_IS_BLANK):  Beginning execution.
 MLOGIC(MIP_IS_BLANK):  This macro was compiled from the autocall file
       <SASHome>\SASFoundation\9.4\modimpsvr\ucmacros\mip_is_blank.sas
 MLOGIC(MIP_IS_BLANK):  Parameter MAC_VAR has value request_json_file
 SYMBOLGEN:  Macro variable MAC_VAR resolves to request_json_file
 MLOGIC(MIP_IS_BLANK):  Ending execution.
 MLOGIC(MIP_REST_SUBMIT_RUN):  %IF condition %mip_is_blank(mac_var=request_json_file) is FALSE
 MLOGIC(MIP_REST_SUBMIT_RUN):  %LOCAL  _SOURCE_
 MLOGIC(MIP_REST_SUBMIT_RUN):  %LET (variable name is _SOURCE_)
 MPRINT(MIP_REST_SUBMIT_RUN):   proc lua infile='sas.risk.modimp.rskmimpl_rest_run_macro_entry';
 MPRINT(MIP_REST_SUBMIT_RUN):   run;
 NOTE: Resuming Lua state from previous PROC LUA invocation.
 NOTE: 400 Bad Request
 NOTE: PROCEDURE HTTP used (Total process time):
       real time           0.05 seconds
       cpu time            0.00 seconds
 ERROR: The run "retail_hazard_run" cannot be created. Reason: The name could not be found.
 ERROR: The run "retail_hazard_run" could not be submitted.

A hot fix is planned for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model Implementation Platform ServerWindows 7 Professional 32 bit3.23.39.4 TS1M69.4 TS1M8
Windows 7 Home Premium x643.23.39.4 TS1M69.4 TS1M8
Windows 7 Home Premium 32 bit3.23.39.4 TS1M69.4 TS1M8
Windows 7 Enterprise x643.23.39.4 TS1M69.4 TS1M8
Windows 7 Enterprise 32 bit3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 20193.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 20163.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 Std3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 R2 Std3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 Datacenter3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2008 for x643.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2008 R23.23.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 20083.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 103.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Pro x643.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Enterprise x643.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Pro x643.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Pro 32-bit3.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Enterprise x643.23.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit3.23.39.4 TS1M69.4 TS1M8
Microsoft® Windows® for x643.23.39.4 TS1M69.4 TS1M8
Windows 7 Professional x643.23.39.4 TS1M69.4 TS1M8
Windows 7 Ultimate 32 bit3.23.39.4 TS1M69.4 TS1M8
Windows 7 Ultimate x643.23.39.4 TS1M69.4 TS1M8
Linux for x643.23.39.4 TS1M69.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.